import Request from '@/utils/request'

/**
 * 上传附件接口
 * @param {Object} file
 */
export function uploadFile (file) {
  return new Request({
    url: 'sapi/grade/uploadfile',
    method: 'post',
    data: file
  })
}
